<%-- 
    Document   : AddProductProcess
    Created on : Mar 29, 2012, 2:31:22 PM
    Author     : Tokino
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%!
%>



<jsp:useBean id="formAddProduct" class="servlets.AddProduct" scope="request">
    <jsp:setProperty name="formAddProduct" property="*"/>
</jsp:useBean>  
<jsp:useBean id="SecprogScopeSession" class=
             "servlets.SecprogScopeSession" scope="session" />

<%
formAddProduct.setAccounttype(SecprogScopeSession.getAccounttype());
    if (formAddProduct.checkproduct()) {
       
%>
<jsp:forward page="AddProduct.jsp"/>
<%} else {
%>
<jsp:forward page="AddProduct.jsp"/>
<%    }
%>

